<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:pou="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">

    <f:view> 
        <h:outputText> value="username"</h:outputText>
        <h:inputText> value=#{login.setUsername}</h:inputText>
        <h:outputText> value="password"</h:outputText>
        <h:inputText> value=#{login.setPassword}</h:inputText>
        <h:outputText> value="nome"</h:outputText>
        <h:inputText> value=#{login.setNome}</h:inputText>
        <h:outputText> value="cognome"</h:outputText>
        <h:inputText> value=#{login.setCognome}</h:inputText>
        <h:outputText> value="crediti"</h:outputText>
        <h:inputText> value=#{login.setCrediti}</h:inputText>
        <h:outputText> value="email"</h:outputText>
        <h:inputText> value=#{login.setEmail}</h:inputText>
        <h:outputText> value="via"</h:outputText>
        <h:inputText> value=#{login.setVia}</h:inputText>
        <h:outputText> value="cap"</h:outputText>
        <h:inputText> value=#{login.setCap}</h:inputText>
        <h:outputText> value="numerocivico"</h:outputText>
        <h:inputText> value=#{login.setNumerocivico}</h:inputText>
        <h:outputText> value="provincia"</h:outputText>
        <h:inputText> value=#{login.setProvincia}</h:inputText>
        <h:outputText> value="comune"</h:outputText>
        <h:inputText> value=#{login.setComune}</h:inputText>
        <h:outputText> value="telefono"</h:outputText>
        <h:inputText> value=#{login.setTelefono}</h:inputText>
        <h:commandButton> value="loggati" action=#{login.loggati}</h:commandButton>
    </f:view>
    
</html>